import request from '@/utils/request'

// 查询交班收款明细列表
export function listHandReceipt(query) {
  return request({
    url: '/payfee/HandReceipt/list',
    method: 'get',
    params: query
  })
}

// 查询交班收款明细详细
export function getHandReceipt(id) {
  return request({
    url: '/payfee/HandReceipt/' + id,
    method: 'get'
  })
}

// 新增交班收款明细
export function addHandReceipt(data) {
  return request({
    url: '/payfee/HandReceipt',
    method: 'post',
    data: data
  })
}

// 修改交班收款明细
export function updateHandReceipt(data) {
  return request({
    url: '/payfee/HandReceipt',
    method: 'put',
    data: data
  })
}

// 删除交班收款明细
export function delHandReceipt(id) {
  return request({
    url: '/payfee/HandReceipt/' + id,
    method: 'delete'
  })
}

// 导出交班收款明细
export function exportHandReceipt(query) {
  return request({
    url: '/payfee/HandReceipt/export',
    method: 'get',
    params: query
  })
}